package com.huanlis.consumer.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 教师学生关系表
 * @TableName relationship
 */
@TableName(value ="relationship")
@Data
public class RelationshipEntity implements Serializable {
    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 学生主键
     */
    private Long studentId;

    /**
     * 教师主键
     */
    private Long teacherId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 逻辑删除 1 删除 0 未删除
     */
    private Integer delete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}